package com.companyName.sample.data.mapper;


import com.companyName.sample.data.entity.UserRolePo;

import java.util.List;

public interface UserRoleMapper {

    int insert(UserRolePo userRole);

    int updateByPrimaryKeySelective(UserRolePo userRole);

    List<UserRolePo> findUserRoleByUserId(Long userId);

    int deleteById(Long id);

    List<Long> findRoleIdListByUserId(Long userId);
}